package YAVMM::Object;
use Moose;
use MooseX::Storage;

with Storage ('format' => 'JSON');

sub TO_JSON { return $_[0]->pack; }

__PACKAGE__->meta->make_immutable;
1;
